import request from '@/utils/request'

// 到账类型修改
export function updateArrivalType(data) {
  return request({
    url: '/arrivalType/update',
    method: 'POST',
    data
  })
}

// 到账类型删除
export function deleteArrivalType(data) {
  return request({
    url: '/arrivalType/delete',
    method: 'POST',
    data
  })
}

// 到账类型添加
export function addArrivalType(data) {
  return request({
    url: '/arrivalType/add',
    method: 'POST',
    data
  })
}

// 到账类型列表
export function getArrivalTypelist(params) {
  return request({
    url: '/arrivalType/all',
    method: 'post',
    params
  })
}

// 到账类型单条查询
export function selectArrivalType(params) {
  return request({
    url: '/arrivalType/load',
    method: 'POST',
    params
  })
}

